using System;

namespace BTKERP.Model
{
    #region RequisitionMaster
    /// <summary>
    /// This object represents the properties and methods of a RequisitionMaster.
    /// </summary>
    [Serializable]
    public class RequisitionMaster
    {
        protected Guid _id;
        protected int _sequence;
        protected Guid _fromWarehouseId = Guid.Empty;
        protected Guid _toWarehouseId = Guid.Empty;
        protected string _requisitionCode = String.Empty;
        protected DateTime _requisitionDate;
        protected DateTime _fulfilledDate;
        protected string _requisitionedBy = String.Empty;
        protected string _fulfilledBy = String.Empty;
        protected DateTime _deliveryDate;
        protected string _approvedBy = String.Empty;
        protected DateTime _approvedDate;
        protected int _status;
        protected DateTime _createdOn;
        protected string _createdBy = String.Empty;
        protected DateTime _updatedOn;
        protected string _updatedBy = String.Empty;

        public RequisitionMaster()
        {
        }

        #region Public Properties
        public Guid Id
        {
            get { return _id; }
            set { _id = value; }
        }

        public int Sequence
        {
            get { return _sequence; }
            set { _sequence = value; }
        }

        public Guid FromWarehouseId
        {
            get { return _fromWarehouseId; }
            set { _fromWarehouseId = value; }
        }

        public Guid ToWarehouseId
        {
            get { return _toWarehouseId; }
            set { _toWarehouseId = value; }
        }

        public string RequisitionCode
        {
            get { return _requisitionCode; }
            set { _requisitionCode = value; }
        }

        public DateTime RequisitionDate
        {
            get { return _requisitionDate; }
            set { _requisitionDate = value; }
        }

        public DateTime FulfilledDate
        {
            get { return _fulfilledDate; }
            set { _fulfilledDate = value; }
        }

        public string RequisitionedBy
        {
            get { return _requisitionedBy; }
            set { _requisitionedBy = value; }
        }

        public string FulfilledBy
        {
            get { return _fulfilledBy; }
            set { _fulfilledBy = value; }
        }

        public DateTime DeliveryDate
        {
            get { return _deliveryDate; }
            set { _deliveryDate = value; }
        }

        public string ApprovedBy
        {
            get { return _approvedBy; }
            set { _approvedBy = value; }
        }

        public DateTime ApprovedDate
        {
            get { return _approvedDate; }
            set { _approvedDate = value; }
        }

        public int Status
        {
            get { return _status; }
            set { _status = value; }
        }

        public DateTime CreatedOn
        {
            get { return _createdOn; }
            set { _createdOn = value; }
        }

        public string CreatedBy
        {
            get { return _createdBy; }
            set { _createdBy = value; }
        }

        public DateTime UpdatedOn
        {
            get { return _updatedOn; }
            set { _updatedOn = value; }
        }

        public string UpdatedBy
        {
            get { return _updatedBy; }
            set { _updatedBy = value; }
        }
        #endregion

    }
    #endregion
}
